package cn.cnsy123.shorturls.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.cnsy123.shorturls.business.entity.SysUserInfo;

public interface SysUserInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysUserInfo record);

    int insertSelective(SysUserInfo record);

    SysUserInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUserInfo record);

    int updateByPrimaryKey(SysUserInfo record);

    List<SysUserInfo> selectListByDeptId(@Param("deptId") Integer deptId);

    int updateDeptStatusByDeptId(@Param("oldDeptId") Integer oldDeptId,@Param("newDeptId") Integer newDeptId);
}